﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 患者管控信息维护日志表
    /// </summary>
    public partial class AccountPatientControlLog
    {
        /// <summary>
        /// 日志id 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 患者管控信息id
        /// </summary>
        public long ControlId { get; set; }
        /// <summary>
        /// 患者id
        /// </summary>
        public int PatientId { get; set; }
        /// <summary>
        /// 住院流水号
        /// </summary>
        public int RegNo { get; set; }
        /// <summary>
        /// 担保金额
        /// </summary>
        public decimal? GuaranteeAmount { get; set; }
        /// <summary>
        /// 剩余金额
        /// </summary>
        public decimal? RemainAmount { get; set; }
        /// <summary>
        /// 预警金额
        /// </summary>
        public decimal? AlertAmount { get; set; }
        /// <summary>
        /// 管控金额
        /// </summary>
        public decimal? ControlAmount { get; set; }
        /// <summary>
        /// 管控时间
        /// </summary>
        public DateTime? ControlTime { get; set; }
        /// <summary>
        /// 管控原因
        /// </summary>
        public string? ControlReason { get; set; }
        /// <summary>
        /// 院区id
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 管控状态 编码体系
        /// </summary>
        public string? ControlStatus { get; set; }
        /// <summary>
        /// 解封时间
        /// </summary>
        public DateTime? ReleaseTime { get; set; }
        /// <summary>
        /// 操作日志类型
        /// </summary>
        public string? OperationType { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
